//var Item = new Array(
// 4033602, 4033603, 4033604, 4033606, 4033607, 4033608
// );
function start() {
	//var rand = Math.floor(Math.random() * Item.length);
	if (cm.getSpace(4) < 1) {
		cm.dispose();
		return;
	}
	//cm.sendOk("消灭了怪物，获取：\r\n#b#i" + Item[rand] + "# #t" + Item[rand] + "# x1！！")
	// cm.gainItem(Item[rand], 1);
	cm.worldSpouseMessage(0x15, "『次元入侵』 : " + cm.getChar().getName() + " 带着他的队员们大战了次元怪物100回合终于守护了本次元的和平!。");
	cm.givePartyEnergy(1500);
	cm.givePartyPoints(1500);
	cm.gainItem(2614046, 4);
	cm.gainItem(5062000, 5);	
	cm.gainItem(5062000, 5);
	cm.gainItem(2431347, 3);
	cm.gainItem(2431114, 3);
	cm.gainItem(2436249, 3);	
	cm.gainNX(2, 1500);
	cm.sendOk("您获得的组队任务奖品：\r\n#v2614046#x4 #v5062000#x5 #v5062002#x5 #v2431347#x3 #v2431114#x3 #v2436249#x3 \r\n抵用券x1500 PPMS活跃x1500 PPMS微积分x1500");		
	cm.dispose();
}
